import request from '@/utils/request'


export function listCompany(query) {
  return request({
    url: '/company/list',
    method: 'post',
    data: query
  })
}


export function createCompany(query) {
  return request({
    url: '/company/createCompany',
    method: 'post',
    data: query
  })
}

export function updateCompany(query) {
  return request({
    url: '/company/updateCompany',
    method: 'post',
    data: query
  })
}

export function deleteCompany(query) {
  return request({
    url: '/company/deleteCompany',
    method: 'post',
    data: query
  })
}

